package org.wu.framework.log.platform.application.assembler;

import org.wu.framework.log.platform.domain.model.request.log.RequestLog;
import org.wu.framework.log.platform.application.command.request.log.RequestLogRemoveCommand;
import org.wu.framework.log.platform.application.command.request.log.RequestLogStoryCommand;
import org.wu.framework.log.platform.application.command.request.log.RequestLogUpdateCommand;
import org.wu.framework.log.platform.application.command.request.log.RequestLogQueryListCommand;
import org.wu.framework.log.platform.application.command.request.log.RequestLogQueryOneCommand;
import org.wu.framework.log.platform.application.dto.RequestLogDTO;
import org.wu.framework.core.mapper.LazyStructMappers;
import org.wu.framework.core.mapper.LazyStructMapper;
/**
 * describe 请求日志 
 *
 * @author Jia wei Wu
 * @date 2024/03/25 04:20 下午
 * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyAssembler 
 **/
@LazyStructMapper
public interface RequestLogDTOAssembler {


    /**
     * describe MapStruct 创建的代理对象
     *
     
     
     
     * @author Jia wei Wu
     * @date 2024/03/25 04:20 下午
     **/
    RequestLogDTOAssembler INSTANCE =LazyStructMappers.getMapper(RequestLogDTOAssembler.class);
    /**
     * describe 应用层存储入参转换成 领域对象
     *
     * @param requestLogStoryCommand 保存请求日志对象     
     * @return {@link RequestLog} 请求日志领域对象     
     
     * @author Jia wei Wu
     * @date 2024/03/25 04:20 下午
     **/
     RequestLog toRequestLog(RequestLogStoryCommand requestLogStoryCommand);
    /**
     * describe 应用层更新入参转换成 领域对象
     *
     * @param requestLogUpdateCommand 更新请求日志对象     
     * @return {@link RequestLog} 请求日志领域对象     
     
     * @author Jia wei Wu
     * @date 2024/03/25 04:20 下午
     **/
     RequestLog toRequestLog(RequestLogUpdateCommand requestLogUpdateCommand);
    /**
     * describe 应用层查询入参转换成 领域对象
     *
     * @param requestLogQueryOneCommand 查询单个请求日志对象参数     
     * @return {@link RequestLog} 请求日志领域对象     
     
     * @author Jia wei Wu
     * @date 2024/03/25 04:20 下午
     **/
     RequestLog toRequestLog(RequestLogQueryOneCommand requestLogQueryOneCommand);
    /**
     * describe 应用层查询入参转换成 领域对象
     *
     * @param requestLogQueryListCommand 查询集合请求日志对象参数     
     * @return {@link RequestLog} 请求日志领域对象     
     
     * @author Jia wei Wu
     * @date 2024/03/25 04:20 下午
     **/
     RequestLog toRequestLog(RequestLogQueryListCommand requestLogQueryListCommand);
    /**
     * describe 应用层删除入参转换成 领域对象
     *
     * @param requestLogRemoveCommand 删除请求日志对象参数     
     * @return {@link RequestLog} 请求日志领域对象     
     
     * @author Jia wei Wu
     * @date 2024/03/25 04:20 下午
     **/
     RequestLog toRequestLog(RequestLogRemoveCommand requestLogRemoveCommand);
    /**
     * describe 持久层领域对象转换成DTO对象
     *
     * @param requestLog 请求日志领域对象     
     * @return {@link RequestLogDTO} 请求日志DTO对象     
     
     * @author Jia wei Wu
     * @date 2024/03/25 04:20 下午
     **/
     RequestLogDTO fromRequestLog(RequestLog requestLog);
}